package com.asia5b.a5mall.middleware.model.bean

import com.asia5b.a5mall.middleware.model.base.BaseModel
import com.chad.library.adapter.base.entity.MultiItemEntity
import java.io.Serializable

/**
 * Created by zhangyuncai on 2020/1/17.
 * 商品详情的数据结构
 */
class GoodsDetailItemEntityIml constructor(var type: Int, var t: Any?) : MultiItemEntity, BaseModel() {

    companion object {
        //商品信息
        const val GoodsDetail_Goods = 10
        //商品图片
        const val GoodsDetail_Gallery = 20
        //商品选中规格
        const val GoodsDetail_Spec = 30
        //商品重量
        const val GoodsDetail_Weight = 40
        //商品评论
        const val GoodsDetail_Comments = 50
        //商品所在店铺
        const val GoodsDetail_Shop = 60
        //商品所在店铺
        const val GoodsDetail_Coupon = 70
        //商品所在店铺
        const val GoodsDetail_Activity = 80
        //商品图片详情
        const val GoodsDetail_Introduce = 90
    }

    override val itemType: Int
        get() = type
}